@import "../../util";
//被选中的样式
.CodeLibrary {
  position: relative;
  min-height: 80vh;

  .CodeLibraryBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    &__right {
      flex: 1;
      margin-top: 10px;
    }

    &__left {
      .ant-tree.ant-tree-directory {
        width: 100%;
        padding: 15px;
      }

      .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper.ant-tree-node-selected,
      .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper.ant-tree-node-selected {
        color: $mainColor;
      }

      .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper::before,
      .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper {
        color: $mainColor;
      }

      .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper::before,
      .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper::before {
        background-color: transparent;
      }
    }
  }

}
